package com.xbongbong.pro.knowledge.base.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 批量添加标签
 *
 * @author : ruansicheng
 */
@Getter
@Setter
@ToString
public class BatchDealTagDTO extends BaseDTO {
    /**
     * 被打标签的数据
     */
    @NotNull(message = "{dto.msg.batchDealTag.dataIdList.NotNull}")
    @NotEmpty(message = "{dto.msg.batchDealTag.dataIdList.NotEmpty}")
    private List<Long> dataIdList;
    /**
     * 添加的标签
     */
    @NotNull(message = "{dto.msg.batchDealTag.tagIdList.NotNull}")
    @NotEmpty(message = "{dto.msg.batchDealTag.tagIdList.NotEmpty}")
    private List<Long> tagIdList;

    /**
     * 业务类型
     */
    private Integer businessType;

    /**
     * 知识库ID
     */
    private Long knowledgeBaseId;

}
